package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName( "tz_melt_cloud_group_channel")
@Schema(description = "频道")
@Builder
public class MeltCloudChannel {


    @Schema(description = "频道id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "超级群组 ID")
    private Long groupId;

    @Schema(description = "类型 0:公有频道 1：私有频道")
    private Integer type;

    @Schema(description = "频道ID")
    private String channelId;
    
    @Schema(description = "频道名称")
    private String channelName;

    @Schema(description = "频道创建用户id")
    private String creatorUserId;

    /**
     *  -1：全部消息通知 0：未设置为全部通知，跟随超级群的配置 1：仅针对 @ 消息进行通知 2：仅针对被具体 @用户通知 4：只接收 @所有人的 5：不接收通知
     */
    @Schema(description = "免打扰级别")
    private Integer unpushLevel;

    @Schema(description = "0:正常、1:删除")
    private Integer channelStatus;

    @Schema(description = "创建时间")
    private Date createTime;
    
}
